#include<stdio.h>
int main()
{
    int i = 1;
    do
    {
        printf("%d ",i);
        i++;
    } while ( i<= 10);
    
    printf("\n");
    i = 1;
    
    do
    {
        i++;
        if (5 == i)
        {
            break;
        }    
        printf("%d ",i);    
    } while (i <= 10);
    
    printf("\n");
    i = 1;

    do
    {
        i++;
        if (5 == i)
        {
            continue;
        }    
        printf("%d ",i);          
    } while (i <= 10);
    
        
    return 0;
}